package net.gdface.face.Entity;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;

import java.sql.Timestamp;
import org.greenrobot.greendao.annotation.Generated;

/**
 * Created by hewenwen on 2017/11/30.
 *
 * 人脸验证日志,记录所有通过验证的人员
 *
 */

@Entity
public class fl_log {

    @Id(autoincrement = true)
    private long id;//日志id
    private int person_id;//用户id
    private int device_id;//当前设备id
    private String verify_feature;//用于验证身份的人脸特征数据MD5
    private int compare_face;//数据库中相似度最高的人脸 id
    private double similarty;//验证相识度
    private String verify_time;//验证通过时间
    public String getVerify_time() {
        return this.verify_time;
    }
    public void setVerify_time(String verify_time) {
        this.verify_time = verify_time;
    }
    public double getSimilarty() {
        return this.similarty;
    }
    public void setSimilarty(double similarty) {
        this.similarty = similarty;
    }
    public int getCompare_face() {
        return this.compare_face;
    }
    public void setCompare_face(int compare_face) {
        this.compare_face = compare_face;
    }
    public String getVerify_feature() {
        return this.verify_feature;
    }
    public void setVerify_feature(String verify_feature) {
        this.verify_feature = verify_feature;
    }
    public int getDevice_id() {
        return this.device_id;
    }
    public void setDevice_id(int device_id) {
        this.device_id = device_id;
    }
    public int getPerson_id() {
        return this.person_id;
    }
    public void setPerson_id(int person_id) {
        this.person_id = person_id;
    }
    public long getId() {
        return this.id;
    }
    public void setId(long id) {
        this.id = id;
    }
    @Generated(hash = 1560725909)
    public fl_log(long id, int person_id, int device_id, String verify_feature,
            int compare_face, double similarty, String verify_time) {
        this.id = id;
        this.person_id = person_id;
        this.device_id = device_id;
        this.verify_feature = verify_feature;
        this.compare_face = compare_face;
        this.similarty = similarty;
        this.verify_time = verify_time;
    }
    @Generated(hash = 448718073)
    public fl_log() {
    }

}
